package com.emm.yixun.openapi.hander;

import net.sf.ehcache.Cache;
import net.sf.ehcache.CacheManager;
import net.sf.ehcache.Element;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.emm.yixun.common.app.GetSalesTargetListReqDto;
import com.emm.yixun.common.app.GetSalesTargetListResDto;
import com.emm.yixun.estate.service.app.ProjectInfoServiceAppFacade;
import com.emm.yixun.openapi.dto.base.BaseRequestDTO;
import com.emm.yixun.openapi.dto.base.BaseResponseDTO;
import com.emm.yixun.openapi.vo.GetSalesTargetListReqVo;
import com.emm.yixun.system.service.app.UserServiceAppFacade;

/**
 * （9）查询销售指标 (getSalesTargetList)
 * @author Administrator
 *
 */
@Service("getSalesTargetListHander")
public class GetSalesTargetListHander extends com.emm.yixun.openapi.hander.base.CommonAbstractHander{
	
	@Autowired
	private ProjectInfoServiceAppFacade projectInfoServiceAppFacade;
	
	@SuppressWarnings("rawtypes")
	@Override
	public BaseResponseDTO doBusiness(BaseRequestDTO reqDto) {
		GetSalesTargetListReqVo req = (GetSalesTargetListReqVo)reqDto;
		GetSalesTargetListReqDto reqDto1 = req.getParams();
		BaseResponseDTO<GetSalesTargetListResDto> res = new BaseResponseDTO<GetSalesTargetListResDto>();
		res.setResData(projectInfoServiceAppFacade.getSalesTargetList(reqDto1));
		return res;
	}
	
}
